﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Interop.Excel;

namespace EXCELGen
{
    class Program
    {
        static void Main(string[] args)
        {
            ApplicationClass excel = new ApplicationClass();
            var book = excel.Workbooks.Open(@"c:\test.xls");
            Worksheet sheet = book.Sheets.get_Item(1) as Worksheet;
            sheet.Activate();
            sheet.Cells[1, 1] = "324";
            book.Save();
            book.Close();
        }
    }
}
